package com.eric.windows.event;

import android.content.Context;
import android.graphics.Color;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.eric.windows.R;

import org.androidannotations.annotations.EViewGroup;
import org.androidannotations.annotations.ViewById;

/**
 * <h3>Description</h3>
 * TODO
 * <h3>Author</h3> Eric
 * <h3>Date</h3> 2017/8/9 11:49
 * <h3>Copyright</h3> Copyright (c)2017 Shenzhen TLIT  Co., Ltd. Inc. All rights reserved.
 */
@EViewGroup(R.layout.item_group_melist)
public class ItemGrouMyExList extends LinearLayout{

    @ViewById(R.id.time_group_txt_meList)
    TextView txt;
    public ItemGrouMyExList(Context context) {
        super(context);
    }

    public void  update(String data){
        txt.setText(data);
        txt.setTextColor(Color.RED);
    }

}
